home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir24
/
jnos110g.zip
/
RLOGIN.H
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-17
|
718b
|
22 lines
#ifndef NULLRLOGIN
#define LINESIZE 256 /* Length of local editing buffer */
/* Rlogin protocol control block */
struct rlog_cli {
char state;
#define RLOGIN_NONE_STATE 0
#define RLOGIN_PORT_STATE RLOGIN_NONE_STATE+1
#define RLOGIN_OPEN_STATE RLOGIN_PORT_STATE+1
struct session *session; /* Pointer to session structure */
struct proc *input; /* net -> console */
struct proc *output; /* console -> net */
};
#define NULLRLOGIN (struct rlogin_cli *)NIL
/* In rlogcli.c: */
void rlogin_input __ARGS((int unused,void *tn1,void *p));
void rlogin_upload __ARGS((int unused,void *sp1,void *p));
#endif /* RLOGIN_PORT */